01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
MEM2(x, cons2(y, l)) -> EQ2(x, y)
*12(*2(x, y), z) -> *12(y, z)
LOG'1(11(x)) -> +12(log'1(x), 11(#))
PROD1(app2(l1, l2)) -> PROD1(l2)
IFINTER4(true, x, l1, l2) -> INTER2(l1, l2)
-12(01(x), 11(y)) -> -12(-2(x, y), 11(#))
SUM1(app2(l1, l2)) -> +12(sum1(l1), sum1(l2))
INTER2(l1, cons2(x, l2)) -> MEM2(x, l1)
LOG'1(01(x)) -> LOG'1(x)
*12(x, +2(y, z)) -> *12(x, y)
GE2(11(x), 01(y)) -> GE2(x, y)
GE2(01(x), 11(y)) -> GE2(y, x)
*12(*2(x, y), z) -> *12(x, *2(y, z))
+12(11(x), 11(y)) -> 011(+2(+2(x, y), 11(#)))
-12(11(x), 01(y)) -> -12(x, y)
-12(01(x), 11(y)) -> -12(x, y)
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l3)
+12(+2(x, y), z) -> +12(y, z)
PROD1(app2(l1, l2)) -> PROD1(l1)
*12(11(x), y) -> 011(*2(x, y))
*12(11(x), y) -> +12(01(*2(x, y)), y)
EQ2(01(x), 01(y)) -> EQ2(x, y)
APP2(cons2(x, l1), l2) -> APP2(l1, l2)
MEM2(x, cons2(y, l)) -> IF3(eq2(x, y), true, mem2(x, l))
LOG'1(01(x)) -> GE2(x, 11(#))
SUM1(app2(l1, l2)) -> SUM1(l1)
GE2(01(x), 11(y)) -> NOT1(ge2(y, x))
INTER2(app2(l1, l2), l3) -> INTER2(l1, l3)
LOG'1(01(x)) -> +12(log'1(x), 11(#))
PROD1(cons2(x, l)) -> *12(x, prod1(l))
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l2)
PROD1(cons2(x, l)) -> PROD1(l)
*12(x, +2(y, z)) -> *12(x, z)
*12(01(x), y) -> *12(x, y)
+12(01(x), 11(y)) -> +12(x, y)
+12(11(x), 01(y)) -> +12(x, y)
IFINTER4(false, x, l1, l2) -> INTER2(l1, l2)
+12(11(x), 11(y)) -> +12(+2(x, y), 11(#))
SUM1(nil) -> 011(#)
EQ2(11(x), 11(y)) -> EQ2(x, y)
INTER2(app2(l1, l2), l3) -> INTER2(l2, l3)
-12(11(x), 11(y)) -> 011(-2(x, y))
EQ2(01(x), #) -> EQ2(x, #)
EQ2(#, 01(y)) -> EQ2(#, y)
+12(01(x), 01(y)) -> +12(x, y)
-12(01(x), 01(y)) -> 011(-2(x, y))
LOG1(x) -> LOG'1(x)
INTER2(l1, cons2(x, l2)) -> IFINTER4(mem2(x, l1), x, l2, l1)
*12(x, +2(y, z)) -> +12(*2(x, y), *2(x, z))
*12(11(x), y) -> *12(x, y)
+12(01(x), 01(y)) -> 011(+2(x, y))
MEM2(x, cons2(y, l)) -> MEM2(x, l)
LOG'1(11(x)) -> LOG'1(x)
SUM1(cons2(x, l)) -> +12(x, sum1(l))
LOG1(x) -> -12(log'1(x), 11(#))
GE2(11(x), 11(y)) -> GE2(x, y)
+12(11(x), 11(y)) -> +12(x, y)
-12(01(x), 01(y)) -> -12(x, y)
SUM1(app2(l1, l2)) -> SUM1(l2)
INTER2(l1, app2(l2, l3)) -> APP2(inter2(l1, l2), inter2(l1, l3))
+12(+2(x, y), z) -> +12(x, +2(y, z))
SUM1(cons2(x, l)) -> SUM1(l)
LOG'1(01(x)) -> IF3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
GE2(#, 01(x)) -> GE2(#, x)
INTER2(cons2(x, l1), l2) -> IFINTER4(mem2(x, l2), x, l1, l2)
PROD1(app2(l1, l2)) -> *12(prod1(l1), prod1(l2))
INTER2(app2(l1, l2), l3) -> APP2(inter2(l1, l3), inter2(l2, l3))
*12(01(x), y) -> 011(*2(x, y))
GE2(01(x), 01(y)) -> GE2(x, y)
INTER2(cons2(x, l1), l2) -> MEM2(x, l2)
-12(11(x), 11(y)) -> -12(x, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
MEM2(x, cons2(y, l)) -> EQ2(x, y)
*12(*2(x, y), z) -> *12(y, z)
LOG'1(11(x)) -> +12(log'1(x), 11(#))
PROD1(app2(l1, l2)) -> PROD1(l2)
IFINTER4(true, x, l1, l2) -> INTER2(l1, l2)
-12(01(x), 11(y)) -> -12(-2(x, y), 11(#))
SUM1(app2(l1, l2)) -> +12(sum1(l1), sum1(l2))
INTER2(l1, cons2(x, l2)) -> MEM2(x, l1)
LOG'1(01(x)) -> LOG'1(x)
*12(x, +2(y, z)) -> *12(x, y)
GE2(11(x), 01(y)) -> GE2(x, y)
GE2(01(x), 11(y)) -> GE2(y, x)
*12(*2(x, y), z) -> *12(x, *2(y, z))
+12(11(x), 11(y)) -> 011(+2(+2(x, y), 11(#)))
-12(11(x), 01(y)) -> -12(x, y)
-12(01(x), 11(y)) -> -12(x, y)
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l3)
+12(+2(x, y), z) -> +12(y, z)
PROD1(app2(l1, l2)) -> PROD1(l1)
*12(11(x), y) -> 011(*2(x, y))
*12(11(x), y) -> +12(01(*2(x, y)), y)
EQ2(01(x), 01(y)) -> EQ2(x, y)
APP2(cons2(x, l1), l2) -> APP2(l1, l2)
MEM2(x, cons2(y, l)) -> IF3(eq2(x, y), true, mem2(x, l))
LOG'1(01(x)) -> GE2(x, 11(#))
SUM1(app2(l1, l2)) -> SUM1(l1)
GE2(01(x), 11(y)) -> NOT1(ge2(y, x))
INTER2(app2(l1, l2), l3) -> INTER2(l1, l3)
LOG'1(01(x)) -> +12(log'1(x), 11(#))
PROD1(cons2(x, l)) -> *12(x, prod1(l))
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l2)
PROD1(cons2(x, l)) -> PROD1(l)
*12(x, +2(y, z)) -> *12(x, z)
*12(01(x), y) -> *12(x, y)
+12(01(x), 11(y)) -> +12(x, y)
+12(11(x), 01(y)) -> +12(x, y)
IFINTER4(false, x, l1, l2) -> INTER2(l1, l2)
+12(11(x), 11(y)) -> +12(+2(x, y), 11(#))
SUM1(nil) -> 011(#)
EQ2(11(x), 11(y)) -> EQ2(x, y)
INTER2(app2(l1, l2), l3) -> INTER2(l2, l3)
-12(11(x), 11(y)) -> 011(-2(x, y))
EQ2(01(x), #) -> EQ2(x, #)
EQ2(#, 01(y)) -> EQ2(#, y)
+12(01(x), 01(y)) -> +12(x, y)
-12(01(x), 01(y)) -> 011(-2(x, y))
LOG1(x) -> LOG'1(x)
INTER2(l1, cons2(x, l2)) -> IFINTER4(mem2(x, l1), x, l2, l1)
*12(x, +2(y, z)) -> +12(*2(x, y), *2(x, z))
*12(11(x), y) -> *12(x, y)
+12(01(x), 01(y)) -> 011(+2(x, y))
MEM2(x, cons2(y, l)) -> MEM2(x, l)
LOG'1(11(x)) -> LOG'1(x)
SUM1(cons2(x, l)) -> +12(x, sum1(l))
LOG1(x) -> -12(log'1(x), 11(#))
GE2(11(x), 11(y)) -> GE2(x, y)
+12(11(x), 11(y)) -> +12(x, y)
-12(01(x), 01(y)) -> -12(x, y)
SUM1(app2(l1, l2)) -> SUM1(l2)
INTER2(l1, app2(l2, l3)) -> APP2(inter2(l1, l2), inter2(l1, l3))
+12(+2(x, y), z) -> +12(x, +2(y, z))
SUM1(cons2(x, l)) -> SUM1(l)
LOG'1(01(x)) -> IF3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
GE2(#, 01(x)) -> GE2(#, x)
INTER2(cons2(x, l1), l2) -> IFINTER4(mem2(x, l2), x, l1, l2)
PROD1(app2(l1, l2)) -> *12(prod1(l1), prod1(l2))
INTER2(app2(l1, l2), l3) -> APP2(inter2(l1, l3), inter2(l2, l3))
*12(01(x), y) -> 011(*2(x, y))
GE2(01(x), 01(y)) -> GE2(x, y)
INTER2(cons2(x, l1), l2) -> MEM2(x, l2)
-12(11(x), 11(y)) -> -12(x, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP2(cons2(x, l1), l2) -> APP2(l1, l2)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(cons2(x, l1), l2) -> APP2(l1, l2)
POL( cons2(x1, x2) ) = 2x2 + 1
POL( APP2(x1, x2) ) = x1 + 3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
GE2(#, 01(x)) -> GE2(#, x)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
GE2(#, 01(x)) -> GE2(#, x)
POL( GE2(x1, x2) ) = 2x1 + 3x2
POL( 01(x1) ) = x1 + 2
POL( # ) = 3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
GE2(11(x), 11(y)) -> GE2(x, y)
GE2(01(x), 01(y)) -> GE2(x, y)
GE2(11(x), 01(y)) -> GE2(x, y)
GE2(01(x), 11(y)) -> GE2(y, x)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
GE2(11(x), 11(y)) -> GE2(x, y)
GE2(01(x), 01(y)) -> GE2(x, y)
GE2(11(x), 01(y)) -> GE2(x, y)
GE2(01(x), 11(y)) -> GE2(y, x)
POL( GE2(x1, x2) ) = 3x1 + 2x2 + 2
POL( 01(x1) ) = 2x1 + 3
POL( 11(x1) ) = 2x1 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
EQ2(01(x), #) -> EQ2(x, #)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
EQ2(01(x), #) -> EQ2(x, #)
POL( 01(x1) ) = 3x1 + 3
POL( # ) = 2
POL( EQ2(x1, x2) ) = 2x1 + 3x2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
EQ2(#, 01(y)) -> EQ2(#, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
EQ2(#, 01(y)) -> EQ2(#, y)
POL( 01(x1) ) = x1 + 2
POL( # ) = 3
POL( EQ2(x1, x2) ) = 2x1 + 3x2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
EQ2(11(x), 11(y)) -> EQ2(x, y)
EQ2(01(x), 01(y)) -> EQ2(x, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
EQ2(11(x), 11(y)) -> EQ2(x, y)
EQ2(01(x), 01(y)) -> EQ2(x, y)
POL( 01(x1) ) = 2x1 + 3
POL( EQ2(x1, x2) ) = x1 + 2x2 + 3
POL( 11(x1) ) = 2x1 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
MEM2(x, cons2(y, l)) -> MEM2(x, l)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MEM2(x, cons2(y, l)) -> MEM2(x, l)
POL( cons2(x1, x2) ) = 3x1 + x2 + 1
POL( MEM2(x1, x2) ) = x1 + 2x2 + 3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
INTER2(l1, cons2(x, l2)) -> IFINTER4(mem2(x, l1), x, l2, l1)
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l3)
INTER2(cons2(x, l1), l2) -> IFINTER4(mem2(x, l2), x, l1, l2)
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l2)
IFINTER4(true, x, l1, l2) -> INTER2(l1, l2)
INTER2(app2(l1, l2), l3) -> INTER2(l2, l3)
INTER2(app2(l1, l2), l3) -> INTER2(l1, l3)
IFINTER4(false, x, l1, l2) -> INTER2(l1, l2)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
INTER2(l1, cons2(x, l2)) -> IFINTER4(mem2(x, l1), x, l2, l1)
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l3)
INTER2(cons2(x, l1), l2) -> IFINTER4(mem2(x, l2), x, l1, l2)
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l2)
INTER2(app2(l1, l2), l3) -> INTER2(l2, l3)
INTER2(app2(l1, l2), l3) -> INTER2(l1, l3)
Used ordering: Polynomial Order [17,21] with Interpretation:
IFINTER4(true, x, l1, l2) -> INTER2(l1, l2)
IFINTER4(false, x, l1, l2) -> INTER2(l1, l2)
POL( if3(x1, ..., x3) ) = 3x2 + 2
POL( # ) = 1
POL( eq2(x1, x2) ) = max{0, 2x2 - 1}
POL( 11(x1) ) = max{0, x1 - 3}
POL( mem2(x1, x2) ) = max{0, 2x1 - 3}
POL( nil ) = max{0, -3}
POL( cons2(x1, x2) ) = 3x1 + 2x2 + 3
POL( true ) = 1
POL( false ) = max{0, -3}
POL( app2(x1, x2) ) = 2x1 + 2x2 + 1
POL( 01(x1) ) = max{0, 2x1 - 1}
POL( IFINTER4(x1, ..., x4) ) = 3x2 + x3 + x4 + 1
POL( INTER2(x1, x2) ) = x1 + x2 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
IFINTER4(true, x, l1, l2) -> INTER2(l1, l2)
IFINTER4(false, x, l1, l2) -> INTER2(l1, l2)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
-12(11(x), 01(y)) -> -12(x, y)
-12(01(x), 11(y)) -> -12(x, y)
-12(01(x), 01(y)) -> -12(x, y)
-12(01(x), 11(y)) -> -12(-2(x, y), 11(#))
-12(11(x), 11(y)) -> -12(x, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
-12(11(x), 01(y)) -> -12(x, y)
-12(01(x), 11(y)) -> -12(x, y)
-12(01(x), 01(y)) -> -12(x, y)
-12(11(x), 11(y)) -> -12(x, y)
Used ordering: Polynomial Order [17,21] with Interpretation:
-12(01(x), 11(y)) -> -12(-2(x, y), 11(#))
POL( -2(x1, x2) ) = max{0, 2x1 - 3}
POL( 01(x1) ) = 3x1 + 3
POL( 11(x1) ) = 2x1 + 2
POL( # ) = max{0, -3}
POL( -12(x1, x2) ) = max{0, 2x2 - 3}
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
-12(01(x), 11(y)) -> -12(-2(x, y), 11(#))
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
-12(01(x), 11(y)) -> -12(-2(x, y), 11(#))
POL( -2(x1, x2) ) = x1
POL( 01(x1) ) = 2x1 + 2
POL( 11(x1) ) = 2x1 + 2
POL( # ) = max{0, -2}
POL( -12(x1, x2) ) = max{0, 2x1 - 1}
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(x, #) -> x
01(#) -> #
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 11(y)) -> 01(-2(x, y))
-2(#, x) -> #
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
+12(01(x), 01(y)) -> +12(x, y)
+12(11(x), 11(y)) -> +12(x, y)
+12(+2(x, y), z) -> +12(y, z)
+12(11(x), 01(y)) -> +12(x, y)
+12(01(x), 11(y)) -> +12(x, y)
+12(+2(x, y), z) -> +12(x, +2(y, z))
+12(11(x), 11(y)) -> +12(+2(x, y), 11(#))
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
+12(11(x), 11(y)) -> +12(x, y)
+12(+2(x, y), z) -> +12(y, z)
+12(11(x), 01(y)) -> +12(x, y)
+12(01(x), 11(y)) -> +12(x, y)
+12(11(x), 11(y)) -> +12(+2(x, y), 11(#))
Used ordering: Polynomial Order [17,21] with Interpretation:
+12(01(x), 01(y)) -> +12(x, y)
+12(+2(x, y), z) -> +12(x, +2(y, z))
POL( 01(x1) ) = x1
POL( 11(x1) ) = x1 + 3
POL( +12(x1, x2) ) = x1 + x2 + 1
POL( +2(x1, x2) ) = x1 + x2 + 1
POL( # ) = 1
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(x, #) -> x
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(#, x) -> x
+2(+2(x, y), z) -> +2(x, +2(y, z))
01(#) -> #
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
+12(01(x), 01(y)) -> +12(x, y)
+12(+2(x, y), z) -> +12(x, +2(y, z))
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
+12(+2(x, y), z) -> +12(x, +2(y, z))
Used ordering: Polynomial Order [17,21] with Interpretation:
+12(01(x), 01(y)) -> +12(x, y)
POL( 01(x1) ) = x1
POL( 11(x1) ) = max{0, x1 - 2}
POL( +12(x1, x2) ) = 2x1
POL( +2(x1, x2) ) = x1 + 1
POL( # ) = max{0, -3}
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
+12(01(x), 01(y)) -> +12(x, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
+12(01(x), 01(y)) -> +12(x, y)
POL( +12(x1, x2) ) = 3x2 + 3
POL( 01(x1) ) = x1 + 3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
SUM1(app2(l1, l2)) -> SUM1(l1)
SUM1(app2(l1, l2)) -> SUM1(l2)
SUM1(cons2(x, l)) -> SUM1(l)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
SUM1(app2(l1, l2)) -> SUM1(l1)
SUM1(app2(l1, l2)) -> SUM1(l2)
SUM1(cons2(x, l)) -> SUM1(l)
POL( cons2(x1, x2) ) = 2x2 + 1
POL( app2(x1, x2) ) = 3x1 + 2x2 + 3
POL( SUM1(x1) ) = x1 + 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
*12(*2(x, y), z) -> *12(y, z)
*12(x, +2(y, z)) -> *12(x, z)
*12(11(x), y) -> *12(x, y)
*12(x, +2(y, z)) -> *12(x, y)
*12(01(x), y) -> *12(x, y)
*12(*2(x, y), z) -> *12(x, *2(y, z))
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
*12(11(x), y) -> *12(x, y)
*12(01(x), y) -> *12(x, y)
Used ordering: Polynomial Order [17,21] with Interpretation:
*12(*2(x, y), z) -> *12(y, z)
*12(x, +2(y, z)) -> *12(x, z)
*12(x, +2(y, z)) -> *12(x, y)
*12(*2(x, y), z) -> *12(x, *2(y, z))
POL( *12(x1, x2) ) = 2x1 + 2
POL( 01(x1) ) = 2x1 + 1
POL( 11(x1) ) = x1 + 2
POL( +2(x1, x2) ) = 0
POL( # ) = 0
POL( *2(x1, x2) ) = 2x1 + 2x2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
*12(*2(x, y), z) -> *12(y, z)
*12(x, +2(y, z)) -> *12(x, z)
*12(x, +2(y, z)) -> *12(x, y)
*12(*2(x, y), z) -> *12(x, *2(y, z))
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
*12(*2(x, y), z) -> *12(y, z)
*12(*2(x, y), z) -> *12(x, *2(y, z))
Used ordering: Polynomial Order [17,21] with Interpretation:
*12(x, +2(y, z)) -> *12(x, z)
*12(x, +2(y, z)) -> *12(x, y)
POL( *12(x1, x2) ) = x1 + 1
POL( 01(x1) ) = 3x1 + 3
POL( 11(x1) ) = max{0, -3}
POL( +2(x1, x2) ) = max{0, 3x1 + 2x2 - 2}
POL( # ) = 3
POL( *2(x1, x2) ) = x1 + 2x2 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
*12(x, +2(y, z)) -> *12(x, z)
*12(x, +2(y, z)) -> *12(x, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
*12(x, +2(y, z)) -> *12(x, z)
*12(x, +2(y, z)) -> *12(x, y)
POL( *12(x1, x2) ) = 3x1 + x2 + 3
POL( +2(x1, x2) ) = 2x1 + 2x2 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
PROD1(app2(l1, l2)) -> PROD1(l2)
PROD1(cons2(x, l)) -> PROD1(l)
PROD1(app2(l1, l2)) -> PROD1(l1)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PROD1(app2(l1, l2)) -> PROD1(l2)
PROD1(cons2(x, l)) -> PROD1(l)
PROD1(app2(l1, l2)) -> PROD1(l1)
POL( cons2(x1, x2) ) = 3x1 + 2x2 + 1
POL( PROD1(x1) ) = x1 + 3
POL( app2(x1, x2) ) = 2x1 + 2x2 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
LOG'1(11(x)) -> LOG'1(x)
LOG'1(01(x)) -> LOG'1(x)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LOG'1(11(x)) -> LOG'1(x)
LOG'1(01(x)) -> LOG'1(x)
POL( 01(x1) ) = 2x1 + 2
POL( LOG'1(x1) ) = 2x1
POL( 11(x1) ) = 3x1 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)